package com.kingyun.gpsinspection.purificationservice.dao.mapper.tdm;


import com.kingyun.gpsinspection.purificationservice.facade.model.tdm.TerritorialSupervision;
import com.kingyun.gpsinspection.purificationservice.facade.model.tdm.TerritorialSupervisionVo;

/**
 * 属地监督Mapper
 */
public interface TerritorialSupervisionMapper {
    int deleteByPrimaryKey(String territorialSupervisionId);

    int insert(TerritorialSupervision record);

    int insertSelective(TerritorialSupervision record);

    TerritorialSupervision selectByPrimaryKey(String territorialSupervisionId);

    int updateByPrimaryKeySelective(TerritorialSupervision record);

    int updateByPrimaryKey(TerritorialSupervision record);

    TerritorialSupervisionVo selectByPrimaryKeyNew(String territorialSupervisionId);

    int updateByPrimaryKeyNew(TerritorialSupervision record);

    TerritorialSupervisionVo findVoByPiPiid(String piPiid);

    int updateTaskStatusExecutedById(TerritorialSupervision territorialSupervision);

    int updateFinishById(TerritorialSupervision territorialSupervision);

    int updateAuditStatusById(TerritorialSupervision territorialSupervision);
}